// console.log('---------------------------------');
// console.log(Math.min(4,2,12,9,3,78));//2
// console.log(Math.max(4,2,12));//12
// let str = [4,2,12,9,3,78];
// console.log(Math.min(...str));//2
// console.log(Math.max(...str));//78

// console.log('----------------------------------');
// //let selectNum = Math.floor(Math.random().total_num_count + lowerNum);
// console.log(Math.floor(Math.random()*9+1));
// console.log(Math.floor(Math.random()*7+2));

// function selectFrom(MaxNum,MinNum){
//     let totalNum = MaxNum - MinNum + 1;
//     return Math.floor(Math.random() * totalNum + MinNum);
// }
// let arrColor = ["red", "green", "blue", "yellow", "black", "purple", "brown"];
// console.log(arrColor[selectFrom(0,arrColor.length-1)]);

